package com.crm.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class ContractQueryPagePramDto {
    private Integer pageNum;
    private Integer pageSize;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginCreateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endCreateTime;
    /**
     * 合同编号
     */
    private String contractNo;
    /**
     * 客户姓名
     */
    private String name;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 购买的学科
     */
    private String subject;
    /**
     * 关联课程ID
     */
    private Integer courseId;
}
